import request from '@/utils/request.js';

// 获取近七天打卡记录
export function getSignRecordApi(data) {
	return request.httpTokenRequest({
		url: 'sign_record/index',
		method: 'GET'
	}, data)
}

// 签到打卡
export function signRecordSignApi(data) {
	return request.httpTokenRequest({
		url: 'sign_record/sign',
		method: 'POST'
	}, data)
}